input change angular event

70

angular input change event -

<input type="text" [ngModel]="mymodel" (ngModelChange)="valuechange($event)" />
{{mymodel}}

valuechange(newValue) {
  mymodel = newValue;
  console.log(newValue)
}

input change angular event -

<input type="radio" (change)="handleChange($event)" />

Comments

Submit
0 Comments